package com.sishu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * @author  linyi
 * @date  2025-01-02 14:38:07
 * @description 角色表,每局游戏开始时会有角色以及技能选定
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("role")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private int roleId; //角色id

    private String roleName; //角色名称

    private String skillName; //技能名称

    private String level;     //等级

    private String levelName;  //等级名称

    private String upgradeCondition;  //升级条件

    private int rolePrice;



}
